package com.zyit.service.Impl;

import com.zyit.dao.OrderListDao;
import com.zyit.entity.T_base_order;
import com.zyit.entity.T_goods;
import com.zyit.service.OrderListService;
import com.zyit.util.Page;

import java.util.List;

public class OrderListServiceImpl implements OrderListService {
    private OrderListDao orderListDao = new OrderListDao();

    @Override
    public List<T_goods> findAll() {
        return orderListDao.findAll();
    }

    @Override
    public Page<T_base_order> findOrderNo(Integer pageNo) {
        return orderListDao.findOrderNo(pageNo);
    }

    @Override
    public List<T_goods> findByPage() {
        return orderListDao.findByPage();
    }}
